/**
 * 接口列表文件
 */
export default {

	/** 公共 ↓ **/
	common: {
		apphome: {
			url: "api/home",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		oldIndexnew: {
			url: "api/home/indexnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		
		indexnew: {
			url: "api/app/home/indexnew",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '首页',
		},

		gerenRecom: {
			url: "api/home/allBuy",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		cartRecom: {
			url: "api/home/allLike",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		
		initrecom: {
			url: "api/initrecom",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		rongyun: {
			url: "api/instant_message_im/registerIm",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		welcome: {
			url: "api/instant_message_im/welcome",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		
		// initcart: {
		// 	url: "api/home/initcart",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '首页',
		// },
		initcart: {
			url: "api/app/cart/getcurrent/initCart",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '购物车条目数',
		},
		jingpin: {
			url: "api/home/jingpin",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		zhuanqu: {
			url: "api/home/zhuanqu",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		youxuan: {
			url: "api/home/youxuan",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		jingpinnew: {
			url: "api/home/jingpinnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		zhuanqunew: {
			url: "api/home/zhuanqunew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		youxuannew: {
			url: "api/home/youxuannew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		store: {
			url: "api/home/store",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		newstore: {
			url: "api/home/newstore",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		
		jingpindetail: {
			url: "api/home/jingpindetail",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		zhuanqudetail: {
			url: "api/home/zhuanqudetail",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		// storedetail: {
		// 	url: "api/home/storedetail",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '首页',
		// },
		storedetail: {
			url: "api/app/store/storedetail",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '首页',
		},
		youxuandetail: {
			url: "api/home/youxuandetail",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		youxuandetailnew: {
			url: "api/home/youxuandetailnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		jingpindetailnew: {
			url: "api/home/jingpindetailnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		shangxiandetailnew: {
			url: "api/home/shangxiandetailnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		shangxiannew: {
			url: "api/home/shangxiannew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		qingliangnew: {
			url: "api/home/qingliangnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		qingliangdetailnew: {
			url: "api/home/qingliangdetailnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		duanwunew: {
			url: "api/home/duanwunew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		duanwudetailnew: {
			url: "api/home/duanwudetailnew",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		oldGetDetailmodule:{
			url: "api/home/module",
			auth: false,
			method: "POST",
			// desc: '首页',
		},
		getDetailmodule:{
			url: "api/app/home/recommend",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '首页',
		},
		
		getDetailmodules:{
			url: "api/app/home/module",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '首页',
		},
		
		goodsdetail: {
			url: "api/product/detail",
			auth: false,
			method: "POST",
			// desc: '商品详情',
		},


		upload: {
			url: "index/upload",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		gerenjinpin: {
			url: "api/home/youxuangeren",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		gerenjinpin2: {
			url: "api/home/youxuangeren2",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		youxuangeren2detail: {
			url: "api/home/youxuangeren2detail",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		youxuangerendetail: {
			url: "api/home/youxuangerendetail",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		zhuanqudetailnew: {
			url: "api/home/zhuanqudetailnew",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
	 
		getDistributor: {
			url: "api/home/getDistributor",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		shortcut:{
			url: "api/shortcut",
			auth: false,
			method: "POST",
			// desc: '上传图片',
		},
		webviewlist:{
			url: "api/app/article/list",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '平台消息列表',
		},
		getHomePoster:{
			url: "api/live/data",
			auth: false,
			method: "POST",
			// desc: '获取商城首页活动图',
		},
		getFootprints:{
			url: "api/app/productBrowse/productHzBrowseInfo",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '获取用户足迹',
		},
		smsLogin:{
			url: "api/app/login/smsLogin",
			auth: false,
			method: "POST",
			newHTTP:true
		}
	},

	/** 分类 ↓ **/
	category: {
		info: {
			url: "api/app/product/category/list",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '商品分类',
		},
		storeinfo: {
			url: "api/product_category/storecateList",
			auth: false,
			method: "POST",
			// desc: '商品分类',
		},
		storeinfonew: {
			url: "api/app/store/hzstoreproductcategory/list",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '商品分类',
		},
		list: {
			url: "category/list",
			auth: false,
			method: "POST",
			// desc: '首页分类商品列表',
		},
		detaillist: {
			url: "api/product_category/detaillist",
			auth: false,
			method: "POST",
			// desc: '首页分类商品列表',
		},
		modeldetaillist:{
			url: "api/product_category/modeldetaillist",
			auth: false,
			method: "POST",
			// desc: '首页分类商品列表',
		}
	},
	/** 门店 ↓ **/
	live: {
		list: {
			url: "api/live_room/list",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		listgoods: {
			url: "api/live_room/goodslist",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		getLiveRoom: {
			url: "api/live_room/getLiveRoom",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		setLiveRoomstatue:{
			url: "api/live_room/setLiveRoomstatue",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		}
		 
	
	},

	/** 门店 ↓ **/
	store: {
	
		recomlist: {
			url: "api/store/recomlist",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		storesearch: {
			url: "api/app/store/search",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商户列表，不需要storeId',
		},
		businessSearch: {
			url: "/api/app/business/search",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '企业搜索',
		},
		storefavorite: {
			url: "api/app/store/favorite/list",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '关注商铺列表',
		},
		derivativeList:{
			url: 'api/app/product/derivativeFavorite/list',
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: "关注小店列表"
		},
		getstroemore: {
			url: "api/store/getMore",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		
		// addstorefavorite: {
		// 	url: "api/member/store_favorite/add",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商户列表，不需要storeId',
		// },
		addstorefavorite: {
			url: "api/app/store/favorite/add",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商户列表，不需要storeId',
		},
		getStoreId: {
			url: "api/store/getStoreId",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		produectlist: {
			url: "api/app/product/getPageData",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商户列表，不需要storeId',
		},
		oldProduectlist: {
			url: "api/store/produectlist",
			auth: false,
			method: "POST",
			// desc: '商户列表，不需要storeId',
		},
		getdetail: {
			url: "api/app/product/getStoreHomePage",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '门店信息',
		},
		oldGetdetail: {
			url: "api/store/getdetail",
			auth: false,
			method: "POST"
			// desc: '门店信息',
		},
		getStroeInfo:{
			url: "api/app/store/grtStoreInfo",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '店铺详情',
		},
		nogetdetail: {
			url: "api/store/nogetdetail",
			auth: false,
			method: "POST",
			// desc: '门店信息',
		},
		
		getdetailcount: {
			url: "api/store/getdetailcount",
			auth: false,
			method: "POST",
			// desc: '门店信息',
		},
		
		getSmailDateList:{
			url: 'api/poroductapplication/getDateList',
			auth: false,
			method: "POST",
			// desc: '门店信息',
		}

	},
	
	review:{
		getlist: {
			url:'api/review/all',
			auth: false,
			method: "POST",
			// desc: "门店评价"
		}
	},
	/** 商品 ↓ **/
	goods: {
		lists: {
			url: "goods/list",
			auth: false,
			method: "POST",
			// desc: '商品列表',
		},
		searchproducts: {
			url: "api/guide/searchproducts",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		indexproduectlist: {
			url: "api/store/indexproduectlist",
			auth: false,
			method: "POST",
			// desc: '商品列表',
		},
		// oldRecomlist: {
		// 	url: "api/home/recomlist",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品推荐',
		// },
		recomlist: {
			url: "api/app/product/recomlist",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商品推荐',
		},
		hotlists: {
			url: "api/home/list",
			auth: false,
			method: "POST",
			// desc: '商品推荐',
		},
		themedetail: {
			url: "api/product/themedetail",
			auth: false,
			method: "POST",
			// desc: '商品推荐',
		},
		gettheme: {
			url: "api/theme/detail",
			auth: false,
			method: "POST",
			// desc: '商品推荐',
		},
		// goodsearch: {
		// 	url: "api/product/search",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品详情',
		// },
		goodsearch: {
			url: "api/app/product/search",
			auth: false,
			method: "POST",
			newHTTP: true,
			contentType:'JSON'
			// desc: '商品详情',
		},
		 
		oldDetail: {
			url: "api/product/detail",
			auth: false,
			method: "POST",
			// desc: '商品详情',
		},
		detail: {
			url: "api/app/product/productInfo",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商品详情',
		},
		nodetail: {
			url: "api/product/nodetail",
			auth: false,
			method: "POST",
			// desc: '商品详情',
		},
		cateList: {
			url: "api/app/product/getProductList",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商品详情',
		},
		stroecateproList: {
			url: "api/product/stroecateproList",
			auth: false,
			method: "POST",
			// desc: '商品详情',
		},
		// stroecateproListnew: {
		// 	url: "api/product/stroecateproListnew",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品详情',
		// },
		stroecateproListnew: {
			url: "api/app/product/details",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商品详情',
		},
		indexcatelist: {
			url: "api/product/indexcatelist",
			auth: false,
			method: "POST",
			// desc: '商品详情',
		},
		
		
		favorite: {
			url: "api/member/product_favorite/list",
			auth: false,
			method: "POST",
			// desc: '商品收藏',
		},
		
		// addfavorite: {
		// 	url: "api/member/product_favorite/add",
		// 	auth: false,
		// 	method: "POST",
		// },
		// 新的商品收藏接口
		addfavorite: {
			url: "api/app/product/favorite/add",
			auth: false,
			method: "POST",
			newHTTP: true,
		},
		
		// delete: {
		// 	url: "api/member/product_favorite/delete",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品收藏',
		// },
		// 取消收藏
		favoriteDelete: {
			url: "api/app/product/favorite/delete",
			auth: false,
			method: "POST",
			newHTTP: true,
		},
	 
		scoreList: {
			url: "api/app/product/exchangelist",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '积分商品列表',
		},
		exchangelist: {
			url: "api/product/exchangelist",
			auth: false,
			method: "POST",
			// desc: '积分商品列表',
		},
	 
		commentList: {
			url: "api/app/review/receiveList",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '商品评论列表',
		},
	 
		pddcate: {
			url: "api/guide",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		
		indexproducts: {
			url: "api/guide/indexproducts",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		cateproducts: {
			url: "api/guide/cateproducts",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		secondecate: {
			url: "api/guide/secondecate",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		tuanduisave: {
			url: "api/poroductapplication/save",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		tuanduidelete: {
			url: "api/poroductapplication/delete",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		tuanduideletelist: {
			url: "api/poroductapplication/deletelist",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		
		tuanduilist: {
			url: "api/poroductapplication/list",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		getRates: {
			url: "api/poroductapplication/getRates",
			auth: false,
			method: "GET",
			// desc: '商品评论分类',
		},
		getDates: {
			url: "api/poroductapplication/getDates",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		getDistributor: {
			url: "api/poroductapplication/getDistributor",
			auth: false,
			method: "POST",
			
			// desc: '商品评论分类',
		},
		getbyOnwer: {
			url: "api/poroductapplication/getbyOnwer",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		getDateDetail: {
			url: "api/poroductapplication/getDateDetail",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		ccapply: {
			url: "api/aderivative/apply",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		ccedit: {
			url: "api/aderivativeapplication/edit",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		byowner: {
			url: "api/aderivative/byowner",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		byownerhasgoods: {
			url: "api/aderivative/byownerhasgoods",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		setmain:{
			url: "api/poroductapplication/setTops",
			auth: false,
			method: "POST",
			// desc: '设置主推商品',
		},
		smailladd:{
			url: "api/member/derivative_favorite/add",
			auth: false,
			method: "POST",
			// desc: '关注/取消关注小店',
		},
		storeSearchList:{
			url: "api/poroductapplication/storegoodslist",
			auth: false,
			method: "POST",
			// desc: '店铺选品列表'
		},
		// resourcesList:{
		// 	url: "api/product_source/list",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '资源库列表'
		// },
		resourcesList:{
			url: "api/app/product/source/list",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '资源库列表'
		},
		resourcesInfo:{
			url: "api/product/shortLink",
			auth: false,
			method: "POST",
			// desc: '资源详情'
		},
		liveList:{
			url: "api/live/list",
			auth: false,
			method: "POST",
			// desc: '直播列表'
		},
		liveInfo:{
			url: "api/live/info",
			auth: false,
			method: "POST",
			// desc: '直播详情'
		},
		getSmailList:{
			url: "api/poroductapplication/getByList",
			auth: false,
			method: "POST",
			// desc: '直播列表'
		},
		getLiveHotList:{
			url: "api/live/home",
			auth: false,
			method: "POST",
			// desc: '直播列表'
		},
		// getBrowse:{
		// 	url:"api/browse/like",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '猜你喜欢'
		// },
		getBrowse:{
			url:"api/app/productBrowse/like",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '猜你喜欢'
		},
		getBrowseHome:{
			url: "api/browse/home",
			auth: false,
			method: "POST",
			// desc: '首页关注'
		},
		getScantTop:{
			url: "api/home/scantTop",
			auth: false,
			method: "POST",
			// desc: '为你省钱顶部数据'
		},
		// getScantList:{
		// 	url: "api/home/scantList",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '为你省钱列表数据'
		// },
		getScantList:{
			url: "api/app/product/getProductList",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '为你省钱列表数据'
		},
		getNineArea:{
			url: "api/theme_floor/list",
			auth: false,
			method: "POST",
			// desc: '9.9专区'
		},
		getStudentCate:{
			url: "api/theme_floor/category",
			auth: false,
			method: "POST",
			// desc: '学生专区分类'
		},
		getStudentList:{
			url: "api/theme_floor/products",
			auth: false,
			method: "POST",
			// desc: '学生专区列表'
		},
		getCateGood:{
			url: "api/activity/cate",
			auth: false,
			method: "POST",
			// desc: '学生专区列表'
		},
		// getUniversalList:{
		// 	url: "api/theme_floor/content",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '通用活动页面商品列表'
		// },
		getUniversalList:{
			url: "api/app/theme/floorData",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '通用活动页面商品列表'
		},
		getHomeModule:{
			url: "api/theme_floor/data",
			auth: false,
			method: "POST",
			// desc: '首页模块数据'
		},
		getRush:{
			url: "api/activity/day",
			auth: false,
			method: "POST",
			// desc: '秒杀商品日程'
		},
		// getRushList:{
		// 	url: "api/activity/products",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '秒杀商品列表'
		// },
		getRushList:{
			url: "api/app/home/products",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '秒杀商品列表'
		},
		getProductCategory:{
			url: "api/app/product/category/byId",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '根据活动id获取商品分类'
		},
		getProductList:{
			url: "api/app/product/getProductList",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '根据活动id获取商品分类'
		},
	},

	/** 用户 ↓ **/
	user: {
		getToken:{
			url: "/api/app/login/getJwt",
			auth: false,
			method: "POST",
			newHTTP: true
		},
		smssend: {
			url: "api/verificationcode/send",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		smsLogin: {
			url: "api/login/smslogin",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		pwsLogin: {
			url: "api/login/pwsLogin",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		weixinAPPlogin: {
			url: "api/login/weixinAPPgetOpenId",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		weixingetOpenId: {
			url: "api/login/weixingetOpenId",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		//旧
		weixingetMobile: {
			url: "api/login/weixingetMobile",
			auth: false,
			method: "POST"
			// desc: '短信登录',
		},
		//新
		weixinGetMobile: {
			url: "api/app/login/weixinGetMobile",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '短信登录',
		},
		//旧的微信登陆API
		weixinminilogin: {
			url: "api/login/weixinminilogin",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},
		//新的微信登陆API
		weixinMiniLogin: {
			url: "api/app/login/weixinMiniLogin",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '短信登录',
		},
		apiinfo: {
			url: "api/app/hzmember/memberInfo",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '用户信息',end
		},
		clearuser: {
			url: "api/register/clearMember",
			auth: false,
			method: "POST",
			// desc: '用户信息',end
		},
		profile: {
			url: "api/app/hzmember/updateMemberData",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '修改用户信息',end
		},
		// signList: {
		// 	url: "api/member/checkin/current_period",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '签到记录',
		// },
		signList: {
			url: "api/app/checkin/currentPeriod",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '签到记录',
		},
		// sign: {
		// 	url: "api/member/checkin/checkin",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '签到',
		// },
		sign: {
			url: "api/app/checkin/checkin",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '签到',
		},
		// favoriteList: {
		// 	url: "api/member/product_favorite/list",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品收藏列表',
		// },
		favoriteList: {
			url: "api/app/product/favorite/list",
			auth: false,
			method: "POST",
			newHTTP: true,
			// desc: '商品收藏列表',
		},
		
		// getTotal: {
		// 	url: "api/member/lower_distributors/total",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '商品收藏列表',
		// },
		getTotal: {
			url: "api/app/Distributor/total",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '商品收藏列表',
		},
	},

	/** 位置 ↓ **/
	address: {
		getsfarea: {
			url: "api/member/receiver/getsfarea",
			auth: false,
			method: "POST",
			// desc: '省市区',
		},
		getdqarea: {
			url: "api/member/receiver/getdqarea",
			auth: false,
			method: "POST",
			// desc: '省市区',
		},
		appsave: {
			url: "api/member/receiver/appsave",
			auth: false,
			method: "POST",
			// desc: '省市区',
		},
		 
		edit: {
			url: "api/member/receiver/edit",
			auth: false,
			method: "POST",
			// desc: '修改地址',
		},
		// defaults: {
		// 	url: "api/member/receiver/list",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '默认地址',
		// },
		defaults: {
			url: "api/app/trade/receive/list",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '默认地址',
		},
		defaultAddress: {
			url: "api/member/receiver/defaultAddress",
			auth: false,
			method: "POST",
			// desc: '默认地址',
		},
		getbyid: {
			url: "api/member/receiver/getbyid",
			auth: false,
			method: "POST",
			// desc: '默认地址',
		},
		 
		del: {
			url: "api/member/receiver/delete",
			auth: false,
			method: "POST",
			// desc: '删除',
		},
	},

	/** 常见问题 ↓ **/
	other: {
		 
		commentList: {
			url: "api/review/list",
			auth: false,
			method: "POST",
			// desc: '评论列表',
		}
	},
	/** 购物车 ↓ **/
	video: {
		list: {
			url: "api/video/list",
			auth: false,
			method: "POST",
			// desc: '购物车商品列表',
		},
		getiocns:{
			url: "api/video/action/coins",
			auth: false,
			method: "POST",
			// desc: '购物车商品列表',
		},
		getpoint:{
			url: "api/video/action/point",
			auth: false,
			method: "POST",
			// desc: '购物车商品列表',
		},
		setcoin:{
			url: "api/video/action/reward",
			auth: false,
			method: "POST",
			// desc: '购物车商品列表',
		}
	 
	},

	/** 购物车 ↓ **/
	cart: {
		 // index: {
		 // 	url: "api/cart/getcurrent",
		 // 	auth: false,
		 // 	method: "POST",
		 // 	// desc: '购物车商品列表',
		 // },
		 index: {
		 	url: "api/app/cart/getcurrent/list",
		 	auth: false,
		 	method: "POST",
			newHTTP:true,
			contentType:'JSON',
		 	// desc: '购物车商品列表',
		 },
		add: {
			url: "api/cart/add",
			auth: false,
			method: "POST",
			// desc: '添加购物车',
		},

		edit: {
			url: "api/cart/modify",
			auth: false,
			method: "POST",
			// desc: '编辑购物车',
		},
		remove: {
			url: "api/cart/remove",
			auth: false,
			method: "POST",
			// desc: '编辑购物车',
		},
		clear: {
			url: "api/cart/clear",
			auth: false,
			method: "POST",
			// desc: '编辑购物车',
		},
	},

	/** 订单 ↓ **/
	order: {
		// index: {
		// 	url: "api/memberorder/list",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '订单列表',
		// },
		index: {
			url: "api/app/shop/orders/list",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '订单列表',
		},
		// getcount: {
		// 	url: "api/memberorder/getcount",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '订单列表',
		// },
		
		getcount: {
			url: "api/app/shop/orders/getCount",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '订单列表',
		},
		pddorderlist: {
			url: "api/member/guideorder/list",
			auth: false,
			method: "POST",
			// desc: '订单列表',
		},
		pddgetUrl: {
			url: "api/guide/geturl",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		waiterorderlist: {
			url: "api/member/waiter/waiterOrder",
			auth: false,
			method: "POST",
			// desc: '申请门店',
		},
		pddgetminiUrl: {
			url: "api/guide/getminipath",
			auth: false,
			method: "POST",
			// desc: '商品评论分类',
		},
		
		cartcheckout: {
			url: "api/order/cartcheckout",
			auth: false,
			method: "POST",
			// desc: '订单列表',
		},
		// procheckout: {
		// 	url: "api/order/productcheckout",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '订单列表',
		// },
		procheckout: {
			url: "api/app/shop/orders/prepareOrder",
			auth: false,
			method: "POST",
			newHTTP:true,
			contentType:'JSON'
			// desc: '订单列表',
		},
		teamservice: {
			url: "api/memberorder/teamservice",
			auth: false,
			method: "POST",
			// desc: '订单列表',
		},
	 
		cartcreate: {
			url: "api/order/cartcreate",
			auth: false,
			method: "POST",
			// desc: '提交订单',
		},
		pointcreate: {
			url: "api/order/pointcreate",
			auth: false,
			method: "POST",
			// desc: '提交订单',
		},
		// procreate: {
		// 	url: "api/order/procreate",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '提交订单',
		// },
		procreate:{
			url: "api/app/shop/orders/create",
			auth: false,
			method: "POST",
			newHTTP:true,
			contentType:'JSON'
		},
		shareprocreate: {
			url: "api/order/shareprocreate",
			auth: false,
			method: "POST",
			// desc: '提交订单',
		},
		liveprocreate: {
			url: "api/order/liveprocreate",
			auth: false,
			method: "POST",
			// desc: '提交订单',
		},
		// detail: {
		// 	url: "api/memberorder/detail",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '订单详情',
		// },
		detail: {
			url: "api/app/shop/orders/orderInfo",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '订单详情',
		},
		// sndetail: {
		// 	url: "api/memberorder/sndetail",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '订单详情',
		// },
		sndetail: {
			url: "api/app/shop/orders/snDetail",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '订单详情',
		},
		payment: {
			url: "api/app/shop/orders/payment",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '订单详情',
		},
		cartsndetail: {
			url: "api/memberorder/cartsndetail",
			auth: false,
			method: "POST",
			// desc: '订单详情',
		},
		itemDetail: {
			url: "api/member/review/add",
			auth: false,
			method: "POST",
			// desc: '订单商品详情',
		},
		confirm: {
			url: "api/memberorder/receive",
			auth: false,
			method: "POST",
			// desc: '确认收货',
		},
		// cancel: {
		// 	url: "api/memberorder/cancel",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '取消订单',
		// },
		comment: {
			url: "api/member/review/save",
			auth: false,
			method: "POST",
			// desc: '评价商品',
		},
	 
		aftersale: {
			url: "api/member/aftersales/",
			auth: false,
			method: "POST",
			// desc: '申请售后',
		},
		getstatus: {
			url: "api/member/aftersales/getstatus",
			auth: false,
			method: "POST",
			// desc: '申请售后',
		},
	 
		aftersaleDetail: {
			url: "api/member/aftersales/detail",
			auth: false,
			method: "POST",
			// desc: '售后列表详情',
		},
		
		getbyitem: {
			url: "api/member/aftersales/getbyitem",
			auth: false,
			method: "POST",
			// desc: '售后列表详情',
		},
		transit_tabs: {
			url: "api/member/aftersales/transit_tabs",
			auth: false,
			method: "POST",
			// desc: '售后列表详情',
		},
		aftersalecancel: {
			url: "api/member/aftersales/cancel",
			auth: false,
			method: "POST",
			// desc: '售后列表详情',
		},
		reason: {
			url: "api/member/aftersales/reason",
			auth: false,
			method: "POST",
			// desc: '退款原因',
		},
		
		deleteOrder: {
			url: "api/memberorder/delete",
			auth: false,
			method: "POST",
			// desc: '删除订单',
		},
		expressList: {
			url: "api/app/materialFlow/transitStep",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '包裹列表',
		},
		aftersaletransitStep:{
			url: "api/memberorder/aftersaletransitStep",
			auth: false,
			method: "POST",
			// desc: '包裹列表',
		},
		 
		replacement: {
			url: "api/member/aftersales_replacement/replacement",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		repair: {
			url: "api/member/aftersales_repair/repair",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		returns: {
			url: "api/member/aftersales_returns/returns",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		replacementlist: {
			url: "api/member/aftersales_replacement/list",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		repairlist: {
			url: "api/member/aftersales_repair/list",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		returnslist: {
			url: "api/member/aftersales_returns/list",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		aftersaleslist: {
			url: "api/member/aftersales/list",
			auth: false,
			method: "POST",
			// desc: '包裹详情',
		},
		// getPrepareOrder:{
		// 	url:'api/order/prepareOrder',
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '获取运费'
		// },
		getPrepareOrder:{
			url:'api/app/shop/orders/calculate',
			auth: false,
			method: "POST",
			newHTTP:true,
			contentType:'JSON'
			// desc: '获取运费'
		},
		

	},

	/** 支付金钱 ↓ **/
	money: {
		prepay: {
			url: "api/pay/prepay",
			auth: false,
			method: "POST",
			// desc: '发起支付',
		},
		prepaid: {
			url: "api/pay/prepaid",
			auth: false,
			method: "POST",
			// desc: '发起支付',
		},
		miniprepay: {
			url: "api/pay/miniprepay",
			auth: false,
			method: "POST",
			// desc: '发起支付',
		},
		newMiniprepay: {
			url: "api/pay/wxPay/jsApiPay",
			auth: false,
			method: "GET",
			newHTTP:true
			// desc: '发起支付',
		},
		
		cartprepay: {
			url: "api/pay/cartprepay",
			auth: false,
			method: "POST",
			// desc: '发起支付',
		},
		cartminiprepay: {
			url: "api/pay/cartminiprepay",
			auth: false,
			method: "POST",
			// desc: '发起支付',
		},

		walletApply: {
			url: "api/member/cash/submit",
			auth: false,
			method: "POST",
			// desc: '申请提现',end
		},
		walletRule: {
			url: "api/member/member_bank/getallbank",
			auth: false,
			method: "POST",
			// desc: '提现规则',end
		},
		// momeycount: {
		// 	url: "api/member/member_deposit/count",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '钱包,积分明细',end
		// },
		momeycount: {
			url: "api/app/member/memberPurse",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		momeycountdetail: {
			url: "api/member/member_deposit/countdetail",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		
		momeyLog: {
			url: "api/member/member_deposit/list",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		waiter:{
			url: "api/member/commission/waiter",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		wjdwaiter:{
			url: "api/member/commission/wjdwaiter",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		shop:{
			url: "api/member/commission/shop",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		wjdshop:{
			url: "api/member/commission/wjdshop",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		wjddirect:{
			url: "api/member/commission/wjddirect",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		
		direct:{
			url: "api/member/commission/direct",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		wjdindirect:{
			url: "api/member/commission/wjdindirect",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		indirect:{
			url: "api/member/commission/indirect",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		wjdpromo:{
			url: "api/member/commission/wjdpromo",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		promo:{
			url: "api/member/commission/promo",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		
		getAll:{
			url: "api/member/commission/getAll",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		getpurse:{
			url: "api/member/commission/getpurse",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		distribution:{
			url: "api/member/commission/distribution",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		subsidy: {
			url: "api/member/member_deposit/subsidy",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		subsidylog: {
			url: "api/member/member_deposit/subsidylog",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		walletcount: {
			url: "api/member/point_log/count",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		iconscount: {
			url: "api/member/point_log/iconscount",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		walletLog: {
			url: "api/member/point_log/list",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		coinstLog: {
			url: "api/member/coins_log/list",
			auth: false,
			method: "POST",
			// desc: '钱包,积分明细',end
		},
		bankInfo: {
			url: "api/member/member_bank/getbank",
			auth: false,
			method: "POST",
			// desc: '银行卡信息',end
		},
		bankEdit: {
			url: "api/member/member_bank/modify",
			auth: false,
			method: "POST",
			// desc: '编辑银行卡信息',end
		},
		withdrawLog: {
			url: "api/member/cash/list",
			auth: false,
			method: "POST",
			// desc: '提现记录',end
		},
		recharge: {
			url: "trade_order/recharge",
			auth: false,
			method: "POST",
			// desc: '充值'
		},
		rechargeLog: {
			url: "trade_order/index",
			auth: false,
			method: "POST",
			// desc: '充值记录'
		},
		rechargeDetail: {
			url: "trade_order/detail",
			auth: false,
			method: "POST",
			// desc: '充值订单详情'
		}
	},

	/** 优惠券 ↓ **/
	coupons: {
		list: {
			url: "coupons",
			auth: false,
			method: "POST",
			// desc: '个人中心优惠券列表',
		},
		templateList: {
			url: "coupons/lists",
			auth: false,
			method: "POST",
			// desc: '首页优惠券',
		},
		get: {
			url: "coupons/get",
			auth: false,
			method: "POST",
			// desc: '领取',
		},
		detail: {
			url: "coupons/detail",
			auth: false,
			method: "POST",
			// desc: '购物券详情',
		},
		goods: {
			url: "coupons/goods",
			auth: false,
			method: "POST",
			// desc: '适用商品',
		},
		getAllowPrize:{
			url: "api/prize/allowPrize",
			auth: false,
			method: "POST",
			// desc: '领取抽奖次数',
		},
		getPrizeInfo:{
			url: "api/prize",
			auth: false,
			method: "POST",
			// desc: '获取大转盘信息',
		},
		getDrawPrize:{
			url: "api/prize/drawPrize",
			auth: false,
			method: "POST",
			// desc: '转盘开奖',
		},
		getUserCoupons:{
			url: "api/app/member/pointLog/myCouponList",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '用户优惠券列表',
		},
		getPrizeHistory:{
			url: "api/prize/record",
			auth: false,
			method: "POST",
			// desc: '用户抽奖记录',
		},
		getUserPrized:{
			url: "api/prize/isPrize",
			auth: false,
			method: "POST",
			// desc: '用户抽奖是否已领取',
		},
		userExchangeList:{
			url: "api/app/member/pointLog/list",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '积分兑换购物券列表',
		},
		userExchangeCon:{
			url: "api/member/point_log/exchange",
			auth: false,
			method: "POST",
			// desc: '积分兑换购物券',
		},
		userExchangePrizeNum:{
			url: "api/member/point_log/prize",
			auth: false,
			method: "POST",
			// desc: '积分兑换抽奖次数',
		},
		// useCon:{
		// 	url: "api/voucher/apply",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '可使用优惠券列表',
		// },
		useCon:{
			url: "api/app/member/pointLog/available",
			auth: false,
			method: "POST",
			newHTTP:true
			// desc: '可使用优惠券列表',
		},
	},

	/** 分销 ↓ **/
	commission: {
		
		order: {
			url: "api/member/waiter/orderlis",
			auth: false,
			method: "POST",
			// desc: '分销身份鉴权',
		},
		
		apply: {
			url: "api/member/waiter_apply/apply",
			auth: false,
			method: "POST",
			// desc: '申请成为分销商',
		},
		// team: {
		// 	url: "api/member/lower_distributors/list",
		// 	auth: false,
		// 	method: "POST",
		// 	// desc: '我的团队',
		// },
		team: {
			url: "api/app/Distributor/list",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '我的团队',
		},
		teamservice: {
			url: "api/app/waiterApply/list",
			auth: false,
			method: "POST",
			newHTTP: true
			// desc: '我的团队',
		},
		share: {
			url: "share/index",
			auth: false,
			method: "POST",
			// desc: '分享记录',
		},
		orderLog: {
			url: "commission.order/index",
			auth: false,
			method: "POST",
			// desc: '分销订单',
		},
		rewardLog: {
			url: "commission.reward/index",
			auth: false,
			method: "POST",
			// desc: '佣金记录',
		},
		lv: {
			url: "commission.agent/level",
			auth: false,
			method: "POST",
			// desc: '佣金记录',
		},

	}


};
